package com.zhuchaooasystem.presenter.home.serviceimage;

import com.zhuchaooasystem.base.IPresenter;
import com.zhuchaooasystem.base.IView;
import com.zhuchaooasystem.entity.ServiceImageDeleteEntity;
import com.zhuchaooasystem.entity.ServiceImageEntity;

import java.util.List;

/**
 * @author yinsi
 */


public interface ServiceImageContract {

    interface View extends IView {
        int getProjectId();

        String getOrderCode();

        void refreshData(List<ServiceImageEntity.ResultBean.SuccessfulBean> serviceImageList);

        void onCameraClick();

        void onAlbumClick();

        void submitSuccuss();

        String getServiceId();

        void deleteSuccuss(ServiceImageDeleteEntity.ResultBean entity);
    }

    interface Presenter extends IPresenter {
        void getImage();

        void showPickDialog();

        void uploadImage(List<String> imageList);

        void deleteImage();
    }
}
